package com.ruoyi.index.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel(value = "IndexInfoListVo",description = "用户发布信息返回实体")
public class IndexInfoListVo {

    @ApiModelProperty("用户信息及是否关注")
    private UserInfoAndIsFollow userInfoAndIsFollow ;

    @ApiModelProperty("是否关注")
    private Boolean isFollow;

    @ApiModelProperty("发布信息")
    private FhIndexPostinfo fhIndexPostinfo;

    @ApiModelProperty("渔获名称")
    private String postInfoFishS;

    @ApiModelProperty("是否点赞")
    private Boolean isLike;

    @ApiModelProperty("发布评论列表")
    private List<FhIndexPostcomments> fhIndexPostcommentsList;

    public Boolean getFollow() {
        return isFollow;
    }

    public void setFollow(Boolean follow) {
        isFollow = follow;
    }

    public UserInfoAndIsFollow getUserInfoAndIsFollow() {
        return userInfoAndIsFollow;
    }

    public void setUserInfoAndIsFollow(UserInfoAndIsFollow userInfoAndIsFollow) {
        this.userInfoAndIsFollow = userInfoAndIsFollow;
    }

    public FhIndexPostinfo getFhIndexPostinfo() {
        return fhIndexPostinfo;
    }

    public void setFhIndexPostinfo(FhIndexPostinfo fhIndexPostinfo) {
        this.fhIndexPostinfo = fhIndexPostinfo;
    }

    public String getPostInfoFishS() {
        return postInfoFishS;
    }

    public void setPostInfoFishS(String postInfoFishS) {
        this.postInfoFishS = postInfoFishS;
    }

    public Boolean getLike() {
        return isLike;
    }

    public void setLike(Boolean like) {
        isLike = like;
    }

    public List<FhIndexPostcomments> getFhIndexPostcommentsList() {
        return fhIndexPostcommentsList;
    }

    public void setFhIndexPostcommentsList(List<FhIndexPostcomments> fhIndexPostcommentsList) {
        this.fhIndexPostcommentsList = fhIndexPostcommentsList;
    }

    public IndexInfoListVo() {
    }

    public IndexInfoListVo(UserInfoAndIsFollow userInfoAndIsFollow, FhIndexPostinfo fhIndexPostinfo, String postInfoFishS, Boolean isLike, List<FhIndexPostcomments> fhIndexPostcommentsList) {
        this.userInfoAndIsFollow = userInfoAndIsFollow;
        this.fhIndexPostinfo = fhIndexPostinfo;
        this.postInfoFishS = postInfoFishS;
        this.isLike = isLike;
        this.fhIndexPostcommentsList = fhIndexPostcommentsList;
    }
}
